package mediator;

public class ConcreteColleagueB extends Colleague {

    @Override
    public void receive() {
        System.out.println("ConcreteColleagueB receives message.");
    }

    @Override
    public void send() {
        System.out.println("ConcreteColleagueB sends message.");
        mediator.relay(this);
    }
}
